/**
 * Created with Intellij IDEA.
 * Description;
 * User:墨琦
 * Data:2023-03-19
 * Time:16:09
 */

public class Alpha extends Base {

        public static void main( String[] args ) {
            new Alpha();//1
            //调用父类无参的构造方法
            new Base();//2
        }
    }

    class Base {
        Base() {
            System.out.print("Base");
        }
    }

